﻿@model Leads360Express.Repository.Pages.Email.EmailTemplatePreviewItem
@{
    Layout = "";
}
<!DOCTYPE html>
<html class="popup-w popup-w-plain">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Content/global.css" />
    <link rel="stylesheet" type="text/css" href="/Content/jquery-ui-1.8.23.custom.css" />
    <link rel="stylesheet" type="text/css" href="/Content/preview-email.css" />
    <script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery-ui-1.8.23.custom.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.main.js"></script>
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="/Content/ie7.css" media="all" /><![endif]-->
    <!--[if IE 8]><link rel="stylesheet" type="text/css" href="/Content/ie8.css" media="all" /><![endif]-->
    <!--[if lt IE 9]>
     <script type="text/javascript" src="/Scripts/html5.js"> </script>
    	<script type="text/javascript" src="/Scripts/PIE.js"> </script>
    	<script type="text/javascript">
    		if (window.PIE) {
    		    $(function() {
    		        $(".take-tour, .container, .container .title, .form .text, .foot-info .btn-next, .select-area, .form .box, .foot-info .btn-back, .table, .table .footer, .steps li.done.first, .steps li.last").each(function() {
    		            PIE.attach(this);
    		        });
    		    });
    		}
    	</script>
    <![endif]-->
    <style type="text/css">
        html, body {min-width:0}
    </style>
</head>
<body>
    <div id="emailPreviewText">
        <div class="white-header" style="width: 785px">
            <strong>Subject:</strong> <span>
                    @Model.Subject
                   </span> <a class="btn btn-close-small right" href="javascript:void(0)" onclick="window.close();">
                    Close</a> <a class="btn btn-print right" href="javascript:void(0);" onclick="window.print();">Print</a>
        </div>
        <div class="wrap">
  	        <div class="panel">
                <div id="bodyContent" style="min-height: 370px;"></div>
                <br /><hr /><br />
                You have received this email because you have recently requested information from Enterprise QALM. If you believe this to be an error, or would like to discontinue all email correspondence from Enterprise QALM, please click this URL or copy and paste it into your browser address bar to unsubscribe:<br />
                http://lendersafe.qa//OptOut.aspx?Client=Lm360QAEnterprise&Email=mjohnson@leads360.com&leadId=283060
            </div>
        </div>
    </div>
</body>
<script type="text/javascript">
    
    var data = @(Html.Raw(Json.Encode(Model)));
    var title = data.Title + " Email";
    document.title = title;
    var body = data.Body.replace(/\r\n/g, "<br />");
    $('#bodyContent').append(body);
</script>
</html>

